import { get } from '../../resources/scripts/baseApi.js';
// 24小时天气
export async function  hourWeather (city,district){

    try{
        let response=get('/Weather/weather24h',{
            city:city,
            district:district
        })
        
        return response

    }catch(error){
        console.error('API请求失败:', error);
        throw error; 
    }
}
